﻿using Common.Enum;

namespace Entity.ERP.DTO.PurchaseArriveOrder
{
    /// <summary>
    /// 采购到货单模型 - 搜索
    /// </summary>
    public class PurchaseArriveOrderSearchDTO
    {
        /// <summary>
        /// 采购到货单编码
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }

        /// <summary>
        /// 到货单状态
        /// </summary>
        public StateEnum.PurchaseType? Status { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public StateEnum.ExamStatus? ExamStatus { get; set; }

        /// <summary>
        /// 起始时间（按创建时间筛选）
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束时间（按创建时间筛选）
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int CurrentPage { get; set; }

        /// <summary>
        /// 每页数据条
        /// </summary>
        public int PageSize { get; set; }
    }
}
